Skip to content

feat: Implement automated ResourceIndexPolicy re-indexing#46

Merged
JoseSzycho merged 10 commits intomainfrom
25-reindexing
Feb 19, 2026
Merged

feat: Implement automated ResourceIndexPolicy re-indexing#46
JoseSzycho merged 10 commits intomainfrom
25-reindexing

Conversation

@JoseSzycho
Copy link
Copy Markdown
Contributor

This PR implements automated re-indexing for ResourceIndexPolicy creation/update.

Changes Included:

  • Specification Change Detection: Implemented SHA-256 hashing to track policy specification changes.
  • Synthetic Event Generation: The controller now lists resources and publishes re-indexing events to NATS JetStream.
  • Reindex Consumer: Added a dedicated consumer to process background re-indexing tasks, including automatic cleanup of non-matching resources.
  • Documentation: Added architecture details and implementation summaries.

The re-index consumer allows to create a separate queue for indexing resources when a resourceindexpolicy is created/updated.

The command update allows to initialize separately each consumer with its own policycache and batcher.
…ion to be directly under `config/overlays` by adjusting paths and deleting the old role definition.
…ndexing and re-indexing workflow, including a sequence diagram.
scotwells
scotwells previously approved these changes Feb 19, 2026
Copy link
Copy Markdown
Contributor

@scotwells scotwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor feedback.

@github-project-automation github-project-automation bot moved this from Backlog to Ready in Searching Resources in Milo Feb 19, 2026
@JoseSzycho JoseSzycho merged commit f0ee52b into main Feb 19, 2026
5 checks passed
@JoseSzycho JoseSzycho deleted the 25-reindexing branch February 19, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Design re-indexing strategy as policies change

2 participants